home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / lbkocx11 / setup.inf < prev   
INI File  |  1997-11-18  |  5KB  |  136 lines

  1. ;
  2. ; "Logbook" ActiveX control installation file
  3. ;
  4. ; Release 1.1.1
  5. ;
  6. ; Copyright 1996-1997 by Andy Zanna. All rights reserved
  7. ;
  8.  
  9. [dialogs]
  10. HelpFile  = Logbook.hlp
  11. HelpTopic = Installation
  12. Title     = Logbook Control Setup - Version 1.1
  13. Contents  = the Logbook Control, docs and samples
  14.  
  15. [version]
  16. signature="$CHICAGO$"
  17.  
  18. [DefaultInstall]
  19. ; Commands for installation on a Windows 95 system
  20. CopyFiles=STP.copy, STP.copy.sys, STP.copy.sys32, STP.copy.hlp, STP.copy.inf, STP.copy.tst
  21. UpdateInis=STP.inis
  22. AddReg=STP.Add.Reg
  23.  
  24. [DefaultInstall.nt]
  25. ; Commands for installation on an NT system (Registry setup of UNINSTALL is different)
  26. CopyFiles=STP.copy, STP.copy.sys, STP.copy.sys32, STP.copy.hlp, STP.copy.inf, STP.copy.tst
  27. UpdateInis=STP.inis
  28. AddReg=STP.Add.RegNT
  29.  
  30. [DefaultUnInstall]
  31. ; Commands to execute when uninstalling
  32. AddReg    = STP.Uninst.Add.Reg
  33. DelFiles  = STP.copy, STP.copy.tst, STP.copy.hlp, STP.copy.inf, STP.AutoGen
  34. DelReg    = STP.Del.Reg
  35. DelInis   = STP.Del.inis
  36.  
  37. [STP.copy]
  38. LOGBOOK.BAS
  39. README.TXT
  40.  
  41. [STP.copy.tst]
  42. LGBKTEST.VBP
  43. LGBKTEST.FRM
  44.  
  45. [STP.copy.hlp]
  46. LOGBOOK.HLP
  47.  
  48. [STP.copy.sys]
  49. logbk16.ocx
  50.  
  51. [STP.copy.sys32]
  52. logbk32.ocx
  53.  
  54. [STP.copy.inf]
  55. SETUP.INF
  56.  
  57. [STP.AutoGen]
  58. LOGBOOK.GID
  59. LOGBOOK.FTS
  60.  
  61. [DestinationDirs]
  62. STP.copy=24,%STPPROG%            ; samples go in applications directory
  63. STP.copy.tst=24,%STPTST%        ; samples go under applications directory
  64. STP.copy.hlp=18                ; help directory
  65. STP.copy.inf=24,%STPPROG%        ; INF goes in application directory
  66. STP.copy.sys=10,%SYSDIR%        ; "system" directory for win16 stuff
  67. STP.copy.sys32=11            ; system or system32 directory for win32 stuff
  68. STP.copy.win=25                ; shared directory (windows)
  69.  
  70. STP.AutoGen=18                ; cache files created by winhelp
  71. STP.Dirs=24,%STPPROG%            ; LOGBOOK samples dir must be removed explicitely
  72.  
  73. [SourceDisksNames]
  74. 1="Logbook Setup","LBK",,
  75.  
  76. [SourceDisksFiles]
  77. README.TXT=1
  78. logbk32.ocx=1,controls
  79. logbk16.ocx=1,controls
  80. LOGBOOK.BAS=1,controls
  81. LOGBOOK.HLP=1
  82. SETUP.INF=1
  83.  
  84. LGBKTEST.VBP=1,vbtest
  85. LGBKTEST.FRM=1,vbtest
  86.  
  87.  
  88. [STP.inis]
  89. vb.ini, "VBX Conversions32",, "Logbook.vbx={813AE543-40C5-11D0-B4D8-444553540000}#1.0#0;%11%\logbk32.ocx"
  90. vb.ini, "VBX Conversions16",, "Logbook.vbx={813AE543-40C5-11D0-B4D8-444553540000}#1.0#0;%10%\%SYSDIR%\logbk16.ocx"
  91.  
  92. [STP.Add.Reg]
  93. ; add entries to the registry for set-up finalization and uninstall
  94. HKLM,%USTP%,DisplayName,,"%STP_Desc%"
  95. HKLM,%USTP%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %24%\%STPPROG%\SETUP.INF"
  96. HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX16%,,"RunDll %10%\%SYSDIR%\logbk16.ocx,DllRegisterServer"
  97. HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX32%,,"RunDll32 %11%\logbk32.ocx,DllRegisterServer"
  98. HKLM,%STPSCV%\RunOnce\Setup,%STP_READ_ME%,,"WINHLP32.EXE -i Contents %18%\LOGBOOK.HLP"
  99.  
  100. [STP.Add.RegNT]
  101. ; Contains NT-specific Registry commands (uninstall command is different)
  102. HKLM,%USTP%,DisplayName,,"%STP_Desc%"
  103. HKLM,%USTP%,UninstallString,,"rundll32 syssetup.dll,SetupInfObjectInstallAction DefaultUninstall %24%\%STPPROG%\SETUP.INF"
  104. HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX16%,,"RunDll %10%\%SYSDIR%\logbk16.ocx,DllRegisterServer"
  105. HKLM,%STPSCV%\RunOnce\Setup,%STP_REG_OCX32%,,"RunDll32 %11%\logbk32.ocx,DllRegisterServer"
  106. HKLM,%STPSCV%\RunOnce\Setup,%STP_READ_ME%,,"WINHLP32.EXE -i Contents %18%\LOGBOOK.HLP"
  107.  
  108. [STP.Del.Reg]
  109. ; During uninstall, remove these entries from the registry
  110. HKLM,%USTP%
  111.  
  112. [STP.Uninst.Add.Reg]
  113. HKLM,%STPSCV%\RunOnce\Setup,%STP_UNREG_OCX16%,,"RunDll %10%\%SYSDIR%\logbk16.ocx,DllUnregisterServer"
  114. HKLM,%STPSCV%\RunOnce\Setup,%STP_UNREG_OCX32%,,"RunDll32 %11%\logbk32.ocx,DllUnregisterServer"
  115. HKLM,%STPSCV%\RunOnce\Setup,%STP_DEL_DIRS%,,"deltree /y %24%\%STPPROG%"
  116. HKLM,%STPSCV%\RunOnce\Setup,%STP_DEL_OCA32%,,"deltree /y %11%\logbk32.*"
  117. HKLM,%STPSCV%\RunOnce\Setup,%STP_DEL_OCA16%,,"deltree /y %10%\%SYSDIR%\logbk16.*"
  118.  
  119. [Strings]
  120. SYSDIR         = "system"
  121. STPPROG        = "PROGRA~1\Logbook"
  122. STPTST         = "PROGRA~1\Logbook\VBTest"
  123. STP_Desc       = "Logbook Control"       ; shortcut name
  124. STP_ShortDesc  = "Logbook"               ; details view
  125. USTP           = "Software\Microsoft\Windows\CurrentVersion\Uninstall\LOGBOOK"
  126. STPSCV         = "Software\Microsoft\Windows\CurrentVersion"
  127. STP_REG_OCX16  = "Registering 16-bit Controls"
  128. STP_REG_OCX32  = "Registering 32-bit Controls"
  129. STP_UNREG_OCX16= "Unregistering 16-bit Controls"
  130. STP_UNREG_OCX32= "Unregistering 32-bit Controls"
  131. STP_READ_ME    = "Showing Documentation"
  132. STP_DEL_OCA32  = "Removing Control and accessory files (32 bit)"
  133. STP_DEL_OCA16  = "Removing Control and accessory files (16 bit)"
  134. STP_DEL_DIRS   = "Removing leftover directories"
  135.  
  136.